package com.platform.common.core.domain.export;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.platform.common.core.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 到达收款导出
 *
 * @author wcs
 */
@Data
public class DepartGncCheckListExportDTO {

    @ApiModelProperty("运单号")
    @Excel(name = "运单号", sort = 1)
    private String billId;

    @ApiModelProperty("航司")
    @Excel(name = "航空公司", sort = 2)
    private String carrier;

    @ApiModelProperty("航班号")
    @Excel(name = "航班号", sort = 3)
    private String fno;

    @ApiModelProperty("目的站")
    @Excel(name = "目的站", sort = 4)
    private String destName;

    @Excel(name = "配载状态", readConverterExp = "0=未配载,1=已配载,2=部分配载")
    private String stowageStatus;

    @ApiModelProperty("结算用户")
    @Excel(name = "结算用户", sort = 5)
    private String payeeName;

    @ApiModelProperty("货物名称")
    @Excel(name = "货物名称", sort = 6)
    private String goods;

    @ApiModelProperty("货物类别")
    @Excel(name = "货物类别", sort = 6)
    private String cargoTypeName;


    @ApiModelProperty("收费类别")
    @Excel(name = "收费类别", sort = 7)
    private String categoryName;

    @ApiModelProperty("收费项")
    @Excel(name = "收费项", sort = 8)
    private String checkItem;

    @ApiModelProperty("收费规则")
    @Excel(name = "收费规则", sort = 9)
    private String ruleName;

    @ApiModelProperty("结算方式")
    @Excel(name = "结算方式", readConverterExp = "NOW_PAID=现结,DAY_PAID=日结,MONTH_PAID=月结")
    private String settleWay;


    @ApiModelProperty("件数")
    @Excel(name = "件数", sort = 10, cellType = Excel.ColumnType.NUMERIC)
    private Long pc;

    @ApiModelProperty("重量")
    @Excel(name = "重量", sort = 11, cellType = Excel.ColumnType.NUMERIC)
    private BigDecimal weight;

    @ApiModelProperty("费率")
    @Excel(name = "费率", sort = 12)
    private BigDecimal rate;

    @ApiModelProperty("金额")
    @Excel(name = "金额", sort = 13, cellType = Excel.ColumnType.NUMERIC)
    private BigDecimal amount;

    /**
     * 账单日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "账单日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date checkTime;

    /**
     * 核准时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "核准时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date approvalTime;

}
